tools/xenstore: fix connection->id usage
authorJuergen Gross <jgross@suse.com>
Tue, 13 Sep 2022 05:35:08 +0000 (07:35 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 1 Nov 2022 13:05:44 +0000 (13:05 +0000)
commit3047df38e1991510bc295e3e1bb6b6b6c4a97831
treeb99a93c83dce27494ac09f2abab79b04e66d1197
parentb5c0bdb96d33e18c324c13d8e33c08732d77eaa2
tools/xenstore: fix connection->id usage

Don't use conn->id for privilege checks, but domain_is_unprivileged().

This is part of XSA-326.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
tools/xenstore/xenstored_control.c
tools/xenstore/xenstored_core.h
tools/xenstore/xenstored_transaction.c